<?php if (isset($this->news)):?>
<?php if (!count($this->news['rowset'])) return; ?>
<ul class="kx_list">
<?php
	foreach ($this->news['rowset'] as $row):
		$time_create = strtotime($row['time_create']);
?>
	<li class="kx_item">
		<div class="kx_time">
			<em class="kx_day"><?php print date('d', $time_create)?></em>
			<em class="kx_month"><?php print $this->translate(strtolower(date('F', $time_create)))?></em>
			<em class="kx_year"><?php print date('Y', $time_create)?></em>
		</div>
		<div class="kx_content"><a href="<?php print $this->url(array(
				'module' => 'news',
				'controller' => 'news',
				'action' => 'display',
				'id'=> $row['id']
			),'default',true)?>#main"><?php print $row['description']?></a>
		</div>
	</li>
	<?php endforeach;?>
</ul>
<?php endif;?>